module.exports = app => {
    const {router, controller, middleware} = app;


    //注册
    router.post('/register', controller.login.login.register);
    //登录
    router.post('/login', controller.login.login.login);


    //socket.io
    app.io.route('file', app.io.controller.file.receive);
    app.io.route('task_length', app.io.controller.file.taskLength);
};
